package com.school.domain;


import java.io.Serializable;

public class Course implements Serializable {

  private static final long serialVersionUID = -8526360795527119313L;
  private long coid;
  private String name;
  private long num;
  private long nowNum;
  private long rid;
  private long tbid;
  private long tid;

  public Course() {
  }

  public Course(long coid, String name, long num, long nowNum, long rid, long tbid, long tid) {
    this.coid = coid;
    this.name = name;
    this.num = num;
    this.nowNum = nowNum;
    this.rid = rid;
    this.tbid = tbid;
    this.tid = tid;
  }

  @Override
  public String toString() {
    return "Course{" +
            "coid=" + coid +
            ", name='" + name + '\'' +
            ", num=" + num +
            ", nowNum=" + nowNum +
            ", rid=" + rid +
            ", tbid=" + tbid +
            ", tid=" + tid +
            '}';
  }

  public long getCoid() {
    return coid;
  }

  public void setCoid(long coid) {
    this.coid = coid;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public long getNum() {
    return num;
  }

  public void setNum(long num) {
    this.num = num;
  }


  public long getNowNum() {
    return nowNum;
  }

  public void setNowNum(long nowNum) {
    this.nowNum = nowNum;
  }


  public long getRid() {
    return rid;
  }

  public void setRid(long rid) {
    this.rid = rid;
  }


  public long getTbid() {
    return tbid;
  }

  public void setTbid(long tbid) {
    this.tbid = tbid;
  }


  public long getTid() {
    return tid;
  }

  public void setTid(long tid) {
    this.tid = tid;
  }

}
